package com.zhentao.service;

import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.model.common.wemedia.WmMaterial;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.model.common.wemedia.WmMaterialDto;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

/**
* @author EWEWW
* @description 针对表【wm_material(自媒体图文素材信息表)】的数据库操作Service
* @createDate 2024-06-07 10:48:25
*/
public interface WmMaterialService extends IService<WmMaterial> {
    /**
     * 图片上传
     * @param multipartFile
     * @return
     */
    public ResponseResult uploadPicture(MultipartFile multipartFile);

    /**
     * 素材列表查询
     * @param dto
     * @return
     */
    public ResponseResult findList( WmMaterialDto dto);

}
